package com.hllxd.hism.star.exception;

import org.apache.commons.lang3.StringUtils;

public class BusinessException extends RuntimeException {
	private static final long serialVersionUID = 1L;
	
	private String code = StringUtils.EMPTY;
    private String message = StringUtils.EMPTY;

    public BusinessException(String code, String msg) {
        super(msg);
        this.code = code;
        this.message = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return message;
    }
}
